<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>set和with语句</title>
</head>
<body>
    {% set username='Jacky' %}
    <p>用户名:{{ username }}</p>

    {% with classroom = '初三一班' %}
        <p>班级: {{ classroom }}</p>
    {% endwith %}
    <p>另外一个班级: {{ classroom }}</p>
</body>
</html>